package com.wxy.springAOP;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
	public static void main(String []args) throws Exception {
		ApplicationContext applicationContext=new ClassPathXmlApplicationContext("springAOP.xml");
		userDao userDao=applicationContext.getBean("userDao",userDao.class);
		userDao.delete();
		System.out.println();
		userDao.insert();
		System.out.println();
		userDao.update();
		System.out.println();
		userDao.select();
		System.out.println();
	}
}
